/*
* Copyright 2016 Yonyou Auto Information Technology（Shanghai） Co., Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project Name : marketing-common
*
* @File name : DealerAppSearchDto.java
*
* @Author : WangHuicheng
*
* @Date : 2016年11月23日
*
----------------------------------------------------------------------------------
*     Date       Who       Version     Comments
* 1. 2016年11月23日    WangHuicheng    1.0
*
*
*
*
----------------------------------------------------------------------------------
*/
	
package org.marketing.common.dto.search;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;


/**
* DealerApp检索条件DTO
* @author WangHuicheng
* @date 2016年11月23日
*/

public class DealerAppSearchDto implements Serializable {

    private static final long serialVersionUID = 7894716677966976046L;
    /**
     * 经销商代码
     */
    private String dealerCode;
    /**
     * 服务顾问ID
     */
    private Long   salesConsultantId;
    /**
     * 车主的手机号码<br>  <i>如果不是数字的时候，则表示的是车主的姓名</i>
     */
    private String customerPhone;
    /**
     * 车主姓名
     */
    private String customerName;
    
    /**
     * 车主ID或者是潜客的ID
     */
    private Long customerId;
    
    /**
     * 当前的页码数
     */
    private Integer pageNo = 0;
    
    /**
     * 状态
     */
    private Integer status;
    /**
     * 提交时间-开始（YYYY-MM-DD）
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date submitDateFrom;
    /**
     * 提交时间-结束（YYYY-MM-DD）
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date submitDateEnd;
    /**
     * 到店时间-开始（YYYY-MM-DD）
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDateFrom;
    /**
     * 到店时间-结束（YYYY-MM-DD）
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDateEnd;
    
    /**
     * 业务ID,对应的试驾预约、购车询价、养修预约、一键救援、车主客户等业务ID
     */
    private Long  businessServiceId;

    /**
     * 检索种类 养修到期：1、保险到期：2、全部：9
     */
    private int searchType;
    
    /**
     * 检索客户类型  已有客户：1、新增客户：2
     */
    private int clientType;
    
    
    /**
     * @return the clientType
     */
    public int getClientType() {
        return clientType;
    }


    
    /**
     * @param clientType the clientType to set
     */
    public void setClientType(int clientType) {
        this.clientType = clientType;
    }


    /**
     * @return the dealerCode
     */
    public String getDealerCode() {
        return dealerCode;
    }

    
    /**
     * @param dealerCode the dealerCode to set
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    
    /**
     * @return the salesConsultantId
     */
    public Long getSalesConsultantId() {
        return salesConsultantId;
    }

    
    /**
     * @param salesConsultantId the salesConsultantId to set
     */
    public void setSalesConsultantId(Long salesConsultantId) {
        this.salesConsultantId = salesConsultantId;
    }

    
    /**
     * @return the customerPhone
     */
    public String getCustomerPhone() {
        return customerPhone;
    }

    
    /**
     * @param customerPhone the customerPhone to set
     */
    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    
    
    
    /**
     * @return the customerName
     */
    public String getCustomerName() {
        return customerName;
    }


    
    /**
     * @param customerName the customerName to set
     */
    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }


    /**
     * @return the customerId
     */
    public Long getCustomerId() {
        return customerId;
    }


    
    /**
     * @param customerId the customerId to set
     */
    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }


    /**
     * @return the pageNo
     */
    public Integer getPageNo() {
        return pageNo;
    }

    
    /**
     * @param pageNo the pageNo to set
     */
    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    
    /**
     * @return the status
     */
    public Integer getStatus() {
        return status;
    }

    
    /**
     * @param status the status to set
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    
    /**
     * @return the submitDateFrom
     */
    public Date getSubmitDateFrom() {
        return submitDateFrom;
    }

    
    /**
     * @param submitDateFrom the submitDateFrom to set
     */
    public void setSubmitDateFrom(Date submitDateFrom) {
        this.submitDateFrom = submitDateFrom;
    }

    
    /**
     * @return the submitDateEnd
     */
    public Date getSubmitDateEnd() {
        return submitDateEnd;
    }

    
    /**
     * @param submitDateEnd the submitDateEnd to set
     */
    public void setSubmitDateEnd(Date submitDateEnd) {
        this.submitDateEnd = submitDateEnd;
    }

    
    /**
     * @return the startDateFrom
     */
    public Date getStartDateFrom() {
        return startDateFrom;
    }

    
    /**
     * @param startDateFrom the startDateFrom to set
     */
    public void setStartDateFrom(Date startDateFrom) {
        this.startDateFrom = startDateFrom;
    }

    
    /**
     * @return the startDateEnd
     */
    public Date getStartDateEnd() {
        return startDateEnd;
    }

    
    /**
     * @param startDateEnd the startDateEnd to set
     */
    public void setStartDateEnd(Date startDateEnd) {
        this.startDateEnd = startDateEnd;
    }

    
    /**
     * @return the businessServiceId
     */
    public Long getBusinessServiceId() {
        return businessServiceId;
    }

    
    /**
     * @param businessServiceId the businessServiceId to set
     */
    public void setBusinessServiceId(Long businessServiceId) {
        this.businessServiceId = businessServiceId;
    }


    
    /**
     * @return the searchType
     */
    public int getSearchType() {
        return searchType;
    }


    
    /**
     * @param searchType the searchType to set
     */
    public void setSearchType(int searchType) {
        this.searchType = searchType;
    }
    
    
    
    
}
